<?php

namespace app\web\controller;

use app\web\jwt\JwtsMac;
use think\facade\Env;

/**
 * 测试控制器
 */
class Test
{
    /**
     * 测试接口
     */
    public function index(){
        dump();die;
        $key = 'Z_TiRRWWhQgVyVnSGmHh6ZiFVIySzt3gM9GSO0E';
        $token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiI0MjJ3c2RxLmNvbSIsImF1ZCI6IjQyMndzZHEuY29tIiwiaWF0IjoxNjQwMzE4Mzk1LCJuYmYiOjE2NDAzMTgzOTUsInNjb3BlcyI6InJvbGVfYWNjZXNzIiwiZXhwIjoxNjQwOTE4Mzk1LCJkYXRhIjp7InBvcnQiOiJkb3V5aW4iLCJtYWNfaWQiOjgwMjI4fX0.yIDeo1koc8qavmZ031yVSf6yb6-RtL561wIqlzpnPuk';
        $data = JwtsMac::verifyToken($token);
        dump($data);die;
    }
}